package com.xq.jltx.kotlinandroid.mmkv.serialize

import java.lang.reflect.Type

/**
 * @author aidenquan
 *         Created by junlintianxia on 2021/11/26.
 */
interface Serializer {
    fun serialize(toSerialize: Any?): String?

    fun deserialize(serialized: String?, type: Type): Any?
}